using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Admin.NET.Application.Service.Bill.Dto;

public class AddBillTemplateInput : BillTemplateInput
{
	/// <summary>
	/// name
	/// </summary>
	[Required(ErrorMessage = "名称不能为空")]
	public override string Name { get; set; }

	/// <summary>
	/// 费用类型
	/// </summary>
	public virtual List<long> BillTypes { get; set; }

	/// <summary>
	/// 催缴规则0断电，1限制缴费，2余额抵扣
	/// </summary>
	public virtual int CallRules { get; set; }

	/// <summary>
	/// 限制缴费金额
	/// </summary>
	public virtual decimal? LimitAmount { get; set; }

	/// <summary>
	/// 余额抵扣透支金额
	/// </summary>
	public virtual decimal? OverdraftAmount { get; set; }

	/// <summary>
	/// 滞纳金 ..%
	/// </summary>
	public virtual decimal? LateFee { get; set; }

	/// <summary>
	/// 截止日期
	/// </summary>
	public virtual DateTime ExpiryDate { get; set; }
}
